package com.sheepone.distributor.event;


/**
 * @author Miss.杨
 * @description
 * @since 2023-12-08 19:06
 */
public class DistributeEvent extends AbstractEvent {

    private String targetStation;
    private String targetTopic;
    private EventContext context;

    public DistributeEvent() {

    }
    public DistributeEvent(String targetStation, String targetTopic, EventContext context) {
        this.targetStation = targetStation;
        this.targetTopic = targetTopic;
        this.context = context;
    }



    public String getTargetStation() {
        return targetStation;
    }

    public void setTargetStation(String targetStation) {
        this.targetStation = targetStation;
    }

    public String getTargetTopic() {
        return targetTopic;
    }

    public void setTargetTopic(String targetTopic) {
        this.targetTopic = targetTopic;
    }

    public EventContext getContext() {
        return context;
    }

    public void setContext(EventContext context) {
        this.context = context;
    }
}
